import {EntityId, PageQueryParams} from "kf-web-library";

export interface JournalCollectionPageQueryParams extends Partial<PageQueryParams> {
  searchText?: string;
  ids?: EntityId[];
}

export interface JournalCollection {
  id: EntityId;
  code: string;
  name: string;
  createTime?: string;
  modifyTime?: string;
  description?: string;
}

export interface JournalCollection_Create {
  code: string;
  name: string;
  description?: string;
}

export interface JournalCollection_Modify extends JournalCollection_Create {
  id: EntityId;
}

export interface JournalCollection_Patch extends Partial<JournalCollection_Modify> {
  id: EntityId;
}

